﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace dbPoll_Application.Models
{
    public abstract class ShortResponseQuestion : Question
    {
        public virtual ICollection<ShortResponse> responses { get; set; }

        public override String GetKeypadResponseType()
        {
            if (this.type == QuestionType.Alphanumeric)
            {
                return "none";
            }
            return "numericResponse";
        }
    }
}
